<?php
/**
 * Created by PhpStorm.
 * User: man0sions
 * Date: 16/8/29
 * Time: 上午10:58
 */

namespace src\utils\request;



class RandUseragentFetch extends UserAgentFetch
{

    function setOptions()
    {
        $agents = array_merge($this->mobile,$this->desk);
        $rand = array_rand($agents);
        $this->user_agent = $agents[$rand];
    }

}